package com.foreknow.elm.dao;

import com.foreknow.elm.po.Business;

import java.util.List;

public interface BusinessDao {
    /**
     *根据点餐分类编号查询所属商家信息
     * @param orderTypeId
     * @return
     * @throws Exception
     */
    public List<Business> listBusinessByOrderTypeId(int orderTypeId) throws Exception;

    /**
     * 根据商家编号查询商家信息
     * @param businessId
     * @return
     * @throws Exception
     */
    public Business getBusinessById(int businessId) throws Exception;

}
